package top.mistgc.mall.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

import lombok.Data;

@Data
public class UserLoginDTO {
    @NotBlank(message = "[phone number] can not be null")
    @Size(max = 11, min = 6)
    private String utell;

    @NotBlank(message = "[password] can not be null")
    @Size(max = 11, min = 6)
    private String upwd;
}
